package com.amarsoft.apot;

import com.amarsoft.apot.config.BeanNameConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ComponentScan(nameGenerator = BeanNameConfig.class)
@ImportResource("classpath:applicationContext.xml")
public class ApotApplication {
    public static void main(String[] args) {

        ConfigurableApplicationContext run = SpringApplication.run(ApotApplication.class, args);

    }
}
